﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using Lola.Servicio;

namespace Lola.Vista._03_Trafico
{
    public partial class xfrmControlesAlcoholemia : DevExpress.XtraEditors.XtraForm
    {
        public xfrmControlesAlcoholemia()
        {
            InitializeComponent();
          
        }

        private void xfrmControlesAlcoholemia_Load(object sender, EventArgs e)
        {
            List<DTO.Grilla.dtoControlAlcoholemia> lista = Sistema.getInstancia().getControlesAlcoholemia();
            this.gridControl1.DataSource = lista;
        }

        private void simpleButton3_Click(object sender, EventArgs e)
        {
            this.gridControl1.ShowRibbonPrintPreview();
        }

        private void simpleButton2_Click(object sender, EventArgs e)
        {
            this.Dispose();
        }
    }
}